#include "delay.h"
#include "stm8s.h"

void delay_10ms(void)
{
  uint16_t setuptime;
  uint16_t firstruntime;
  for(setuptime=10;setuptime>0;setuptime--)
  {
    for(firstruntime=1000;firstruntime>0;firstruntime--);
  }
}

void delay_100ms(void)
{
  uint16_t setuptime;
  uint16_t firstruntime;
  for(setuptime=100;setuptime>0;setuptime--)
  {
    for(firstruntime=1000;firstruntime>0;firstruntime--);
  }
}


